{% load staticfiles %}

<nav class="navbar navbar-default navbar-fixed-top ">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->

        <div class="navbar-header">

            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#my-nav"
                    aria-expanded="false">
                <span class="sr-only">切换导航条</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>

            <a class="navbar-brand" href="#"><span class="glyphicon glyphicon-home"></span></a>
            <a class="navbar-brand" href="#">{{ key }}</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        {#        <div class="collapse navbar-collapse" id="my-nav">#}
        {#            <ul class="nav navbar-nav">#}
        {#                <li class="active"><a href="{% url 'index' %}">主页</a></li>#}
        {#            </ul>#}
        {#            <ul class="nav navbar-nav navbar-right">#}
        {#                <li><a href="{% url 'login' %}">登录</a></li>#}
        {#                <li><a href="{% url 'register' %}">注册</a></li>#}
        {#            </ul>#}
        {#        </div><!-- /.navbar-collapse -->#}
    </div><!-- /.container-fluid -->
</nav>
